<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" contentType="text/html"%>

<html>
  <head>
  <title>Login</title>
 <link href="<s:url value="/css/main.css"/>" rel="stylesheet"
  type="text/css"/>  
  </head>
  <body>
  <a href="<s:url value="/menu/home.action" />" target="_parent">HOME</a>
  <br />
  <h2>Login</h2>
  <s:if test="hasActionMessages()">
   <div class="message">
      <s:actionerror />
   </div>
</s:if>
  <s:form action="login" method="POST">
  <s:textfield name="userId" label="Login"/><br>
  <s:password name="password" label="Senha"/><br>
 <s:submit value="Login" align="center"/>
  </s:form>
  </body>
</html>
